﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Spider
{
    public class LogDetail
    {
        /// <summary>
        /// 日志类型
        /// </summary>
        public enum LogType
        {
            /// <summary>
            /// 所有的url
            /// </summary>
            AllUrl = 1,
            /// <summary>
            /// 所有的站内url
            /// </summary>
            AllInUrl,
            /// <summary>
            /// 所有的站外url
            /// </summary>
            AllOutUrl,
            /// <summary>
            /// 所有成功的url
            /// </summary>
            AllSuccessUrl,
            /// <summary>
            /// 所有失败的url
            /// </summary>
            AllFailUrl,
            /// <summary>
            /// 全局日志记录
            /// </summary>
            GoloalRecord,
            /// <summary>
            /// 其他
            /// </summary>
            Others
        }
        public static System.Data.DataTable GetLogUrl()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("Id", typeof(int));
            dt.Columns.Add("Url", typeof(string));
            return dt;
        }
    }
}
